package org.example.listenerorder.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@Data
public class OrderVO {
    private Long id;
    private String orderId;
    private Long userId;
    private String carLicense;
    private String driverName;
    private String driverPhone;
    private String enterImgUrl;
    private String leaveImgUrl;
    private String completeImgUrl;
    private String fromAddress;
    private String remark;
    private Integer state;
    private Long invoiceId;
    private Integer isDeleted;
    private Integer isRead;
    private String username;
    private String nickname;
    private List<OrderCementVO> orderDetails;
    private BizInvoice invoiceDetail;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
